package com.arsn.myf.generate.entity;

import com.arsn.myf.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 代码生成表对象
 *
 * @author zhongrj
 * @date 2022-12-12 20:46:25
 */
@Data
@TableName("sys_generate_code_table")
@ApiModel(value = "GenerateCodeTable对象", description = "GenerateCodeTable对象")
public class GenerateCodeTable extends BaseEntity implements Serializable{

    private static final long serialVersionUID = 1L;

    /**
    * id
    */
    @TableId(value = "id",type = IdType.AUTO)
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "id")
    private Long id;

    /**
    * 表名称
    */
    @ApiModelProperty(value = "表名称")
    private String tableName;

    /**
    * 表描述
    */
    @ApiModelProperty(value = "表描述")
    private String tableComment;

    /**
    * 实体类名称
    */
    @ApiModelProperty(value = "实体类名称")
    private String entityName;

    /**
    * 生成包路径
    */
    @ApiModelProperty(value = "生成包路径")
    private String packageName;

    /**
    * 生成模块名
    */
    @ApiModelProperty(value = "生成模块名")
    private String moduleName;

    /**
    * 作者
    */
    @ApiModelProperty(value = "作者")
    private String author;

    /**
    * 备注
    */
    @ApiModelProperty(value = "备注")
    private String remark;

}
